package com.hmall.mapper;

import com.hmall.model.SysQuestionAchievement;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
public interface SysQuestionAchievementMapper extends MyMapper<SysQuestionAchievement> {
    /**
     * @Date 2019/1/28 14:16
     * @Param [userId] 
     * @return int
     * @Description //TODO       
     */
    int selectCountByUserId(@Param("userId") int userId);

    /**
     * @Date 2019/1/28 14:19
     * @Param [userId] 
     * @return com.hmall.model.SysQuestionAchievement
     * @Description //TODO       
     */
    SysQuestionAchievement selectByUserId(@Param("userId") int userId);
}